package edu.suse.mapper;

import edu.suse.entity.Collection;

import java.util.List;

public interface CollectionMapper {
//    查询全部
    List<Collection> queryCollectionList(Integer currentPage,Integer pageSize);
//    查询页码
    Integer getCollectionListNum();
//添加信息
    Collection addCollection(Collection addList);

    Collection delCollection(String id);

    List<Collection> findCollectionList(String id);

    List<Collection> searchCollectionList(String searchCollection);

    Collection editCollection(Collection editList);

    List<Collection> dynastyCollectionAllList(String command);

    List<Collection> dynastyCollectionAll();

    List<Collection> ascSortAll();


}
